package com.liuxl.wqdc.repository;

import com.liuxl.wqdc.entity.OneLevelQuestion;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OneLevelQuestionRepository extends JpaRepository<OneLevelQuestion, Integer>, JpaSpecificationExecutor<OneLevelQuestion> {
    List<OneLevelQuestion> findByExamId(Integer examId);
}
